﻿using System.IO.Ports;

namespace Digitalmes.Infrastructure.Common.SerialPorts;

/// <summary>
/// 串口数据接收事件。
/// </summary>
/// <param name="SerialPort">串口</param>
/// <param name="Error">错误类型</param>
public record SerialErrorReceivedEvent(IGallerySerialPort SerialPort, SerialError Error) : INotification;
